Back to LayBuy Programming Languages Index
Python LayBuy REST API Examples
LayBuy Create Order
This method allows merchants to define a Laybuy order and create a new payment process. If successful, the merchant should store the token within their system. The customer will be sent a SMS message containing a link to the payment process for them to compete in-store.
LayBuy Cancel Order
This method allows merchants to explicitly cancel the payment process for an unconfirmed Laybuy order. The order token (TxQ5d6faiaUNQcConW1zZ1tXzesaQISgWMvA4XJV) is the final part of the path in the URL.
LayBuy Get Order
This method allows merchants to retrieve the details of a Laybuy order. The order token (x4gRGCrt1yTBPO4V4VY0mqilSRhlHMpXTu5tPX5D) is the final part of the path in the URL.
LayBuy Refund Order
This method allows merchants to wholly or partially refund a Laybuy order.